C++11 允许将列表初始化用于 C-风格字符串和 string 对象:
string
char first_date[] = {"Le Chapon Dodu"}; char second_date[] {"The Elegant Plate"}; string third_date = {"The Bread Bowl"}; string fourth_date {"Hank's Fine Eats"};
🔚